let adCon = require('../controller/adCon')
let Router = require('koa-router')
let router = new Router({
    prefix: '/news' //地址加一个前缀
})
router.get('/admin', adCon.renIndex)
router.get('/adminlogin', adCon.renlogin)
router.get('/adminadd', adCon.renadd)
router.post('/checkuser', adCon.checkuser)
module.exports = router